package com.dou.you.che.core.entity.sys;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * ����
 * @Author �ƹ�ա�1058118328@qq.com��
 */
@Data
public class SysRegion implements Serializable{

    private static final long serialVersionUID = 1L;

    //����
    private Integer id;
    //���ڵ�
    private Integer parentId;
    //�������
    private String name;
    //���� 0��� 1ʡ�� 2���� 3����
    private Integer type;
    //�������Id
    private Integer agencyId;

    /**
     * ����
     */
    private String title;

    /**
     * �Ƿ�չ��ֱ�ӽڵ�
     */
    private boolean expand = false;

    /**
     * �����Ӧ
     */
    private boolean disabled = false;
    /**
     * ��� checkbox
     */
    private boolean disableCheckbox = false;
    /**
     * �Ƿ�ѡ���ӽڵ�
     */
    private boolean selected = false;
    /**
     * �Ƿ�ѡ(���ѡ���ӽڵ�Ҳ��ȫ����ѡ)
     */
    private boolean checked = false;

    private boolean leaf = false;
    /**
     * ztree����
     */
    private Boolean open;

    private List<?> list;

    /**
     * �ӽڵ���������
     */
    private List<?> children;
    private String value;
    private String label;

    /**
     * �������ֶ�
     */
    //�������
    private String parentName;

}
